package com.ymtms.supplycar.dao;

import com.ymtms.supplycar.pojo.GoodsbillEvent;
import org.apache.ibatis.annotations.Update;

public interface GoodsbillEventMapper {
    int deleteByPrimaryKey(Integer geid);

    int insert(GoodsbillEvent record);

    int insertSelective(GoodsbillEvent record);

    GoodsbillEvent selectByPrimaryKey(Integer geid);

    int updateByPrimaryKeySelective(GoodsbillEvent record);

    int updateByPrimaryKey(GoodsbillEvent record);

    @Update("update goodsbill_event set event_name = '未到运单' where goods_bill_pkid=#{gmid} and ge_flag=0")
    int updateEventName(Integer gmid);

}